#include"sched.h"

void sched_init(){
    SysTick_Config(SystemCoreClock/1000);
    NVIC_SetPriorityGrouping(NVIC_PriorityGroup_0);
    NVIC_SetPriority(PendSV_IRQn,255);
    NVIC_SetPriority(SysTick_IRQn,255);
}